<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IList<LCA.Community.Web.Models.SearchResult>>" %>
<%@ Import Namespace="LCA.Community.Web.Models" %>
<%@ Import Namespace="LCA.Community.Web.Controllers" %>

<asp:Content ID="Content2" ContentPlaceHolderID="HeaderContent" runat="server">
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div class="content-main" style="width:100%">
        <h2><img src="<%= Url.Content("~/Content/images/FinalDesign/Icons/search24.png") %>"/> <%= (string) ViewData["searchquery"] %></h2>
        <div>
        <% foreach (SearchResult sr in Model){ %>
            <div style="margin-bottom:30px">
                <h3><a href="<%=sr.Url%>" class="a-color"><%= sr.Title %></a></h3>
                <%= sr.Description %>
            </div>
        <% } %>
        </div>
        <div>
            <% Html.RenderPartial("SearchFooter"); %>
        </div>
    </div>
</asp:Content>
